package com.qfedu.mesadmin.md.unit.dao;

import com.qfedu.mes.entity.md.MdUnitMeasure;
import com.qfedu.mesadmin.md.unit.params.UnitPageParam;
import com.qfedu.mesadmin.md.unit.vo.PrimaryUnitVO;

import java.util.List;

public interface MdUnitMeasureDao {

    List<MdUnitMeasure> selectList();

    List<MdUnitMeasure> selectListByInfo(UnitPageParam param);

    void insert(MdUnitMeasure unit);

    List<PrimaryUnitVO> selectPrimary();

    List<PrimaryUnitVO> selectAll();

    void deleteById(Integer id);

    void deleteBatch(List<Integer> ids);

    MdUnitMeasure selectById(Integer id);

    void update(MdUnitMeasure mdUnitMeasure);

}
